#include <QCoreApplication>
#include <iostream>
using namespace std;

int main()
{

    int a,b,c,d,f;
    cout<<"Vvedite trexzna4noe chislo: ";
    cin>>a;

    b = a / 100;
    c = a % 100;
    d = c % 10;
    f = c / 10;

    cout<<"Chislo posle perestanovki: "<<f<<b<<d;

    return 0;
}



